package com.guang.elegantshutdowm.executor;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "copyfilepageexecutor")
public class CopyFilePageSafelyDestroyExecutorProperties {
    public static final String EXECUTOR_PREFIX = "copyfilepageexecutor";
    private Integer corePoolSize = 50;
    private Integer maxPoolSize = 300;
    private Integer queueCapacity = 1000;

    public CopyFilePageSafelyDestroyExecutorProperties() {
    }

    public Integer getCorePoolSize() {
        return this.corePoolSize;
    }

    public void setCorePoolSize(Integer corePoolSize) {
        this.corePoolSize = corePoolSize;
    }

    public Integer getMaxPoolSize() {
        return this.maxPoolSize;
    }

    public void setMaxPoolSize(Integer maxPoolSize) {
        this.maxPoolSize = maxPoolSize;
    }

    public Integer getQueueCapacity() {
        return this.queueCapacity;
    }

    public void setQueueCapacity(Integer queueCapacity) {
        this.queueCapacity = queueCapacity;
    }
}